package eerbaar.v2.app.tasks;

import java.awt.Graphics2D;

public interface IGameTask {

    enum Priority {

        FIRST, MIDDLE, LAST, AFTER_LAST, AFTER_AFTER_LAST;
    }

    public static int STANDARD_RATE = 25;

    void doTask(Graphics2D g);

    Priority getPriority();

    int getRate();

    boolean runWhenSuspended();

}
